package com.example.sprintbootarithmetic.DataStructure.doubleLinkedlist;

public class DoubleLinkListDemo {

    public static void main(String[] args) {
        HeroNode head = new HeroNode(0, "", "");
        DoubleLinklist list = new DoubleLinklist();
        list.addbyOrder(new HeroNode(1, "及时雨", "宋江"));
        list.addbyOrder(new HeroNode(3, "黑暗骑士", "蝙蝠侠"));
        list.addbyOrder(new HeroNode(2, "豹子头", "林冲"));
        list.addbyOrder(new HeroNode(4, "黑旋风", "李逵"));
        list.listItem();
    }
}
